package com.rajeshDyadav.spring.ioc.example00;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MainClass {
    public static void main(String[] args) {
	BeanFactory beanFactory = new ClassPathXmlApplicationContext("com/rajeshDyadav/spring/ioc/example00/HelloWorld.xml");
	HelloWorld helloWorld = (HelloWorld) beanFactory.getBean("helloWorld");	
	helloWorld.sayHello();
    }
}
